# -*- coding: UTF-8 -*-
# Author: Damon(wuud1)
# CreateDate:
# Message:

import os
import sys

# base_path = os.getcwd() + '/../{}_html/'.format('ngkntk')
# print base_path
# if not os.path.exists(base_path):
#     os.mkdir(base_path)

class test(object):

    def __init__(self, **kwargs):
        self.partBrand = kwargs.get("partBrand")

        self.base_path = os.getcwd() + '/../{}_html/'.format(self.partBrand)
        print self.base_path
        if not os.path.exists(self.base_path):
            os.mkdir(self.base_path)

if __name__ == '__main__':
    tools = test(partBrand="test")
